Range Queries / Distinct Values Queries

// This problem is currently unsolved.